<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<link href="${ctx}/resources/css/pagination.css" rel="stylesheet" type="text/css">	
	<div class="title"><span><a href="#">销售人员信息</a></span></div>
			<div class="content cf">
				<div class="sale_box">
					<table id="table" class="table">
						<thead>
							<tr>
								<th width="80">会员编号</th>
								<th width="60">姓名</th>
								<th width="90">身份</th>
								<th width="90">1部新增</th>
								<th width="90">2部新增</th>
								<th width="90">1部累计</th>
								<th width="90">2部累计</th>
							</tr>
						</thead>
						<tbody>
						<c:forEach items="${achList}" var="sale">
							<tr>
								<td>${sale.baseUsername }</td>
								<td>${sale.baseName }</td>
								<td>
								<c:if test="${sale.registerGrade == 1}">铜旅<img src="${ctx}/resources/img/grade1.png"></c:if>
								<c:if test="${sale.registerGrade == 2}">银旅<img src="${ctx}/resources/img/grade2.png"></c:if>
								<c:if test="${sale.registerGrade == 5}">金旅<img src="${ctx}/resources/img/grade3.png"></c:if>
								<c:if test="${sale.registerGrade == 10}">VIP旅<img src="${ctx}/resources/img/grade4.png"></c:if>
								<c:if test="${sale.registerGrade == 30}">VIP钻石旅<img src="${ctx}/resources/img/grade5.png"></c:if>
								</td>
								<td>${sale.achievementLeftNew }</td>
								<td>${sale.achievementRightNew }</td>
								<td>${sale.achievementLeftTotal }</td>
								<td>${sale.achievementRightTotal }</td>
							</tr>
						</c:forEach>	
						</tbody>
					</table>
					<div class="page page_table">
						${pagination}
					</div>
				</div>
			</div>